package com.gt.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 检查报告表
 * </p>
 *
 * @author caidesheng
 */
@Data
@ApiModel(value="EsCheckReport", description="检查报告表")
public class EsCheckReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id    ")
    @TableId(value = "ordrowid", type = IdType.ASSIGN_ID)
    private String ordrowid;

    @ApiModelProperty(value = "筛选检查id")
    @TableField("ES_Check_id")
    private String esCheckId;

    @ApiModelProperty(value = "筛查问卷评估结果")
    private String estimateResult;

    @ApiModelProperty(value = "匹配肠镜检查医院")
    private String matchCheckHospital;

    @ApiModelProperty(value = "检查医院    ")
    private String checkHospital;

    @ApiModelProperty(value = "检查日期    ")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date checkDate;

    @ApiModelProperty(value = "检查开始时间  ")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date checkStartDate;

    @ApiModelProperty(value = "检查结束时间  ")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date checkEndDate;

    @ApiModelProperty(value = "检查室     ")
    private String checkRoom;

    @ApiModelProperty(value = "检查医师    ")
    private String checkDoctor;

    @ApiModelProperty(value = "临床诊断    ")
    private String clinicalDiagnosis;

    @ApiModelProperty(value = "检查所见    ")
    private String checkView;

    @ApiModelProperty(value = "检查结论    ")
    private String checkResult;

    @ApiModelProperty(value = "建议      ")
    private String advise;

    @ApiModelProperty(value = "创建时间    ")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间    ")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
